package com.answeringplayer.service;

import com.answeringplayer.Bean.Request;
import com.answeringplayer.Bean.Response;
import com.answeringplayer.dto.LoginDTO;
import com.answeringplayer.dto.UserDTO;
import org.springframework.web.bind.annotation.RequestBody;

public interface LoginService {

    Response<LoginDTO> login(@RequestBody Request<UserDTO> request);
    
    Response<LoginDTO> register(@RequestBody Request<UserDTO> request);
}
